﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for EtiqaProposal
/// </summary>
public class EtiqaProposal
{
    private Int64 _paproposalid;
    private Int64 _paid;
    private Int64 _pacompanyid;
    private Int64 _painsid;
    private string _salutation;
    private string _name;
    private string _postalcode;
    private string _unitno;
    private string _homeno;
    private string _address;
    private string _gender;
    private string _nricno;
    private string _nationality;
    private string _mobileno;
    private string _officephoneno;
    private string _homephoneno;
    private string _email;
    private string _natureofbusiness;
    private string _companyrocno;
    private string _spousename;
    private string _spousegender;
    private string _spousenricno;
    private string _spousenationality;
    private string _spouserelation;
    private bool _hasphysicaldefects;
    private string _physicaldefects;
    private bool _hasengagedsportsactivities;
    private string _engagedsportsactivities;
    private bool _hasinsurancecancelled;
    private string _insurancecancelleddetails;
    private string _pamenttype;
    private string _orderno;
    private Int64 _orderserialno;
    private Int64 _ninfo1; //Agent ID
    private bool _paymentstatus;
    private string _quoterefno;
    private string _info10; //For Excel File Path

    //common field name
    private Int64 _refceuserid;
    private string _rowguid;
    private Int64 _vieweddetailid;
    private bool _status;
    private DateTime _createddate;
    private DateTime _modifieddate;

	public EtiqaProposal()
	{
		//
		// TODO: Add constructor logic here
		//
        ClearFields();
	}

    public Int64 PAProposalId
    {
        get { return _paproposalid; }
        set { _paproposalid = value; }
    }

    public Int64 PAId
    {
        get { return _paid; }
        set { _paid = value; }
    }

    public Int64 PACompanyId
    {
        get { return _pacompanyid; }
        set { _pacompanyid = value; }
    }

    public Int64 PAInsId
    {
        get { return _painsid; }
        set { _painsid = value; }
    }

    public string Salutation
    {
        get { return _salutation; }
        set { _salutation = value; }
    }

    public string Name
    {
        get { return _name; }
        set { _name = value; }
    }

    public string PostalCode
    {
        get { return _postalcode; }
        set { _postalcode = value; }
    }

    public string UnitNo
    {
        get { return _unitno; }
        set { _unitno = value; }
    }

    public string HomeNo
    {
        get { return _homeno; }
        set { _homeno = value; }
    }

    public string Address
    {
        get { return _address; }
        set { _address = value; }
    }

    public string Gender
    {
        get { return _gender; }
        set { _gender = value; }
    }

    public string NRICNo
    {
        get { return _nricno; }
        set { _nricno = value; }
    }

    public string Nationality
    {
        get { return _nationality; }
        set { _nationality = value; }
    }

    public string MobileNo
    {
        get { return _mobileno; }
        set { _mobileno = value; }
    }

    public string OfficePhoneNo
    {
        get { return _officephoneno; }
        set { _officephoneno = value; }
    }

    public string HomePhoneNo
    {
        get { return _homephoneno; }
        set { _homephoneno = value; }
    }

    public string Email
    {
        get { return _email; }
        set { _email = value; }
    }

    public string NatureofBusiness
    {
        get { return _natureofbusiness; }
        set { _natureofbusiness = value; }
    }

    public string CompanyROCNo
    {
        get { return _companyrocno; }
        set { _companyrocno = value; }
    }

    public string SpouseName
    {
        get { return _spousename; }
        set { _spousename = value; }
    }

    public string SpouseGender
    {
        get { return _spousegender; }
        set { _spousegender = value; }
    }

    public string SpouseNRICNo
    {
        get { return _spousenricno; }
        set { _spousenricno = value; }
    }

    public string SpouseNationality
    {
        get { return _spousenationality; }
        set { _spousenationality = value; }
    }

    public string SpouseRelation
    {
        get { return _spouserelation; }
        set { _spouserelation = value; }
    }

    public bool HasEngagedSportsActivities
    {
        get { return _hasengagedsportsactivities; }
        set { _hasengagedsportsactivities = value; }
    }

    public string EngagedSportsActivities
    {
        get { return _engagedsportsactivities; }
        set { _engagedsportsactivities = value; }
    }

    public bool HasPhysicalDefects
    {
        get { return _hasphysicaldefects; }
        set { _hasphysicaldefects = value; }
    }

    public string PhysicalDefects
    {
        get { return _physicaldefects; }
        set { _physicaldefects = value; }
    }

    public bool HasInsuranceCancelled
    {
        get { return _hasinsurancecancelled; }
        set { _hasinsurancecancelled = value; }
    }

    public string InsuranceCancelledDetails
    {
        get { return _insurancecancelleddetails; }
        set { _insurancecancelleddetails = value; }
    }

    public string PaymentType
    {
        get { return _pamenttype; }
        set { _pamenttype = value; }
    }

    public string OrderNo
    {
        get { return _orderno; }
        set { _orderno = value; }
    }

    public Int64 OrderSerialNo
    {
        get { return _orderserialno; }
        set { _orderserialno = value; }
    }

    public bool PaymentStatus
    {
        get { return _paymentstatus; }
        set { _paymentstatus = value; }
    }

    public string QuoteRefNo
    {
        get { return _quoterefno; }
        set { _quoterefno = value; }
    }

    public string Info10//For Excel File Path
    {
        get { return _info10; }
        set { _info10 = value; }
    }

    public Int64 RefCEUserId
    {
        get { return _refceuserid; }
        set { _refceuserid = value; }
    }

    public string RowGUID
    {
        get { return _rowguid; }
        set { _rowguid = value; }
    }

    public Int64 ViewedDetailId
    {
        get { return _vieweddetailid; }
        set { _vieweddetailid = value; }
    }

    public Int64 NInfo1
    {
        get { return _ninfo1; }
        set { _ninfo1 = value; }
    }

    public bool Status
    {
        get { return _status; }
        set { _status = value; }
    }

    public DateTime CreatedDate
    {
        get { return _createddate; }
        set { _createddate = value; }
    }

    public DateTime ModifiedDate
    {
        get { return _modifieddate; }
        set { _modifieddate = value; }
    }

    public void ClearFields()
    {
        _paproposalid = 0;
        _paid = 0;
        _pacompanyid = 0;
        _painsid = 0;
        _salutation = "";
        _name = "";
        _postalcode = "";
        _unitno = "";
        _homeno = "";
        _address = "";
        _gender = "";
        _nricno = "";
        _nationality = "";
        _mobileno = "";
        _officephoneno = "";
        _homephoneno = "";
        _email = "";
        _natureofbusiness = "";
        _companyrocno = "";
        _spousename = "";
        _spousegender = "";
        _spousenricno = "";
        _spousenationality = "";
        _spouserelation = "";
        _hasengagedsportsactivities = false;
        _engagedsportsactivities = "";
        _hasphysicaldefects = false;
        _physicaldefects = "";
        _hasinsurancecancelled = false;
        _insurancecancelleddetails = "";
        _pamenttype = "";
        _orderno = "";
        _orderserialno = 0;
        _paymentstatus = false;
        _quoterefno = "";
        _info10 = "";
        

        //common field name
        _refceuserid = 0;
        _rowguid = "";
        _vieweddetailid = 0;
        _ninfo1 = 0;
        _status = false;
        _createddate = CE.Global.General.GetUTCDateTime();
        _modifieddate = CE.Global.General.GetUTCDateTime();
    }
}
